package com.why.blog.entity.VO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.why.blog.entity.HaloCategory;
import com.why.blog.entity.HaloPostsTags;
import com.why.blog.entity.HaloUser;
import lombok.Data;


/**
 * @author TriggerWu
 * @version 1.0.0
 * @ClassName PostVO.java
 * @Description postVO
 * @createTime 2019年05月01日 22:22:00
 */
@Data
public class PostVO {

    private String postId;

    private Integer allowComment;

    private String customTpl;

    private String postContent;

    private String postContentMd;

    private Long postDate;

    private String postPassword;

    private Integer postStatus;

    private String postSummary;

    private String postThumbnail;

    private String postTitle;

    private String postType;

    private Long postUpdate;

    private String postUrl;

    private Long postViews;

    private String userId;

    private HaloUser user;

    private HaloCategory category;
    @TableField(exist = false)
    private String comments;

    private HaloPostsTags postsTags;
    @TableLogic
    private Integer logicDel = 0;
}
